#ifndef FACEIDENTIFY_H
#define FACEIDENTIFY_H

#include <QWidget>
#include <QTcpSocket>
namespace Ui {
class faceIdentify;
}

class faceIdentify : public QWidget
{
    Q_OBJECT

public:
    explicit faceIdentify(QWidget *parent = nullptr);
    ~faceIdentify();

private slots:
    void on_startButton_clicked();
    void on_returnButton_clicked();
    void connectSuccess();
    void disconnectSuccess();
    void on_stopButton_clicked();
    void readData();

public:
signals:
    void showLogin();//声明，信号不需要我们实现

private:
    Ui::faceIdentify *ui;
    QTcpSocket* socket;
    int stage = 0;
};

#endif // FACEIDENTIFY_H
